package Main;

import plugin.SystemClassLoader;
import system.Message;
import system.ReadSettings;

/**
 * IDDS - is a next generation software for massive file and message delivery.
 * All rights reserved.
 *
 * @author ZeM
 */
public class Main {

    public static void main(String[] args) {

        //if program was launched with parameter -h or --help
        if (args.length > 0) {
            if (args[0].equals("-h") | args[0].equals("--help")) {
                //reading settings
                new ReadSettings();
                //showing help
                new SystemClassLoader("iddsHELP.jar");
            }else
             if (args[0].equals("--windows")){ //if program lounched in Windows

             Parameters.LounchedFromWindows=true;
             //start
             new StartIDDS();
             }
        } else if (args.length < 1) {//if program was lounched without any parameter
           
            new StartIDDS();
        }

        System.out.println(new Message("s0003").message);
        System.exit(0);


    }
}
